import 'package:flutter/material.dart';
import 'home/home_screen.dart';
import 'constants.dart';
import 'package:flutter/rendering.dart' show debugPaintSizeEnabled;
import 'dart:ui';

void main() {

  // debugPaintSizeEnabled = true; //打开视觉调试开关
  runApp(
    MaterialApp(
      title: 'HomeScreen',
      home: HomeScreen(),
      theme: ThemeData.light().copyWith(
        primaryColor: Color(AppColors.AppBarColors),
        cardColor: Color(AppColors.AppBarColors),//可以修改popmenubutton的背景色
      ),
    )
  );     
}

class MyApp extends StatelessWidget {
  final List<String> items;
  MyApp({
    @required this.items,
  });
  @override
  Widget build(BuildContext context) {
    return Container(
      
    );
  }
}

// void main() => runApp(MaterialApp(
//   title: 'HomeScreen',
//   home: HomeScreen(),
//   theme: ThemeData.light().copyWith(
//     primaryColor: Color(AppColors.AppBarColors),
//     cardColor: Color(AppColors.AppBarColors),//可以修改popmenubutton的背景色
//   ),
// ));
